package com.cxy.hmall.wx;

import org.mybatis.spring.annotation.MapperScan;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.scheduling.annotation.EnableScheduling;
import org.springframework.transaction.annotation.EnableTransactionManagement;

/**
 * 服务启动类
 * 
 * @author CXY
 */
@SpringBootApplication(scanBasePackages = { "com.cxy.hmall.db", "com.cxy.hmall.core",
		"com.cxy.hmall.wx" })
@MapperScan({ "com.cxy.hmall.db.dao", "com.cxy.hmall.db.dao.ex" })
@EnableTransactionManagement
@EnableScheduling
public class WxApplication {

	public static void main(String[] args) {
		SpringApplication.run(WxApplication.class, args);
	}

}